package com.example.service.impl;

import com.example.common.R;
import com.example.dao.ApUserDao;
import com.example.dao.impl.ApUserDaoImpl;
import com.example.service.ApUserService;

public class ApUserServiceImpl implements ApUserService {


    ApUserDao apUserDao = new ApUserDaoImpl();

    @Override
    public R login(String phone, String password) throws Exception {
        return apUserDao.login(phone, password);
    }

    @Override
    public R register(String phone, String password) throws Exception {
        return apUserDao.register(phone, password);
    }
}
